UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

.Xauthority or X*.hosts (or equivalent) file(s) must be used to restrict access to the X server.


Overview

Finding ID Version Rule ID IA Controls Severity
V-12016 GEN005220 SV-63313r1_rule ECCD-1 ECCD-2 Medium
Description
If access to the X server is not restricted, a user's X session may be compromised.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2015-03-26

Details

Check Text ( C-52027r1_chk )
Determine if the X server is running.
Procedure:
# ps -ef |grep X

Determine if xauth is being used.
Procedure:
# xauth
xauth> list

If the above command sequence does not show any host other than the localhost, then xauth is not being used.

Search the system for an X*.hosts file, where "*" is a display number used to limit X window connections. If no files are found, X*.hosts files are not being used. If the X*.hosts files contain any unauthorized hosts, this is a finding.

If both xauth and X*.hosts files are not being used, this is a finding.
Fix Text (F-53913r1_fix)
Create an X*.hosts file, where "*" is a display number used to limit X window connections. Add the list of authorized X clients to the file.